var o = require("./utils/bmob.js"), e = require("./utils/user.js");

o.initialize("196c6a2d1b8f75f8e41e6fb976d88a4f", "4c062a8f1f9c17ba7ef6fa7c7d1872b7");

require("./utils/ald-stat.js");

App({
    onLaunch: function() {
        e.getUserInfo(), console.log("%c ✨どうぞよろしくお愿いいたします~✨ 哈哈", "color:#42b983");
    },
    getUserInfo: function(o) {
        var e = this;
        this.globalData.userInfo ? "function" == typeof o && o(this.globalData.userInfo) : wx.login({
            success: function() {
                wx.getUserInfo({
                    success: function(s) {
                        e.globalData.userInfo = s.userInfo, "function" == typeof o && o(e.globalData.userInfo);
                    }
                });
            }
        });
    },
    globalData: {
        userInfo: null
    }
});